package com.zb.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @Author WEN
 * @Date 2024/1/5 0005
 **/
@Data
public class UserExcelImport implements Serializable {
    @Serial
    private static final long serialVersionUID = -5880899380846221193L;
    @ExcelProperty(value = "客户姓名", index = 0)
    private String username;

    @ExcelProperty(value = "客户机号", index = 1)
    private String phone;

    @ExcelProperty(value = "客户编码", index = 2)
    private String code;

    @ExcelProperty(value = "客户联系地址省", index = 3)
    private String province;

    @ExcelProperty(value = "客户联系地址市", index = 4)
    private String city;

    @ExcelProperty(value = "客户联系地址县/区", index = 5)
    private String area;

    @ExcelProperty(value = "客户联系详细地址", index = 6)
    private String address;

    @ExcelProperty(value = "客户分类", index = 7)
    private String userType;

    @ApiModelProperty(value = "是否根据权限查看知识库：false-查看所有，true-根据权限查看")
    @ExcelProperty(value = "知识库查看权限", index = 8)
    private Boolean selectKnowledgeAuthor;

    @ExcelProperty(value = "客户等级", index = 9)
    private String level;

    @ExcelProperty(value = "客户邮箱", index = 10)
    private String email;

}
